namespace Digitalmes.Domain.Mes;

/// <summary>
/// 设备点检模板表
/// </summary>
[SugarTable("equip_check_template", "设备点检模板表")]
public class EquipCheckTemplate : EntityBase
{
    /// <summary>
    /// 设备Id
    /// </summary>
    public long EquipId { get; set; }

    /// <summary>
    /// 设备编号
    /// </summary>
    [NotNull]
    public string? EquipCode { get; set; } 

    /// <summary>
    /// 设备名称
    /// </summary>
    [NotNull]
    public string? EquipName { get; set; }

    /// <summary>
    /// 点检项编号集合
    /// </summary>
    [NotNull]
    [SugarColumn(ColumnDescription = "点检项编号集合", IsJson = true, Length = 1024)]
    public List<string>? SubjectCodes { get; set; }
}
